//Function:show the usage of function overloading.
#include <iostream>
using namespace std;
int square(int value);
double square(double value);
int main()
{
	int intResult = square(7);
	float floatResult = square(7.5);
	
	cout << "The int result is:" << intResult << endl;
	cout << "The float result is:" << floatResult << endl;
	
	return 0;
}

int square(int value)
{
	return value*value;
}
double square(double value)
{
	return value*value;
}
